package com.example.site.service;

import cn.dev33.satoken.util.SaResult;
import com.example.site.entity.Room;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.site.entity.Type;

import java.util.Map;

/**
 * @author haoka
 * @description 针对表【hotel_room】的数据库操作Service
 * @createDate 2023-04-11 20:46:21
 */
public interface RoomService extends IService<Room> {
    /**
     * @param
     * @return
     * @deprecated 创建房间
     */
    SaResult create(Room room);

    /**
     * @param data
     * @return
     * @deprecated 房间查询
     */
    SaResult getList(Map<String, String> data);

    /**
     * @param data
     * @return
     * @deprecated 房间查询携带类型信息
     */
    SaResult getListJoinType(Map<String, String> data);

    /**
     * @param
     * @return
     * @deprecated 编辑
     */
    SaResult edit(Room room);
}
